const mongoose = require('mongoose')
const Schema = mongoose.Schema

const schema = new Schema({
  stask: String,
  type: String,
  time: Date,
  message: String
})

module.exports = mongoose.model('Log', schema)
